package com.ship.service;

import com.ship.commens.Result;
import com.ship.dto.UserDto;
import com.ship.dto.UserSearchDto;
import com.ship.model.User;


/**
* @author Lucky Boy
* @description 针对表【user】的数据库操作Service
* @createDate 2024-07-01 15:59:15
*/
public interface UserService {

    /**
     * 分页查询员工信息
     * @param pageNum 第几页
     * @param pageSize 每一页显示多少条数据
     * @return
     */
    Result findUsersByPage(Integer pageNum, Integer pageSize);

    Result saveUser(UserDto userDto);

    Result removeOneUser(Long id);

    Result removeManyUser(String id);

    Result modifyUser(UserDto userDto);

    Result findUsersBySearch(UserSearchDto userSearchDto);

}
